package org.yangspring.samples.mvc.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

/**
 * Created by whyang on 2017/06/19.
 */

@Entity
@Table(name = "T_snakes")
//@DiscriminatorValue("snake")
@PrimaryKeyJoinColumn(name = "snakeId")
public class AnimalJoinSnake extends AnimalJoin {

    @Column(name = "bloodTemperature")
    private int bloodTemperature;

    public void setBloodTemperature(int temperature){
        this.bloodTemperature = temperature;
    }
    public int getBloodTemperature(){
        return this.bloodTemperature;
    }

}
